import $axios from '@/utils/axios'

export default {
  //获取数据
  getDynamicQuery(params?: object): Promise<CommonObjectType> {
    return $axios.post('dm/api/data/dynamic/query', params)
  },
  DynamicExecute(params?: object): Promise<CommonObjectType> {
    return $axios.post('dm/api/data/dynamic/execute', params)
  },

  FormSubmit(params?: object): Promise<CommonObjectType> {
    return $axios.post('dm/api/data/dynamic/form/submit', params)
  },
  FormGet(params?: object): Promise<CommonObjectType> {
    return $axios.post('dm/api/data/dynamic/form/get', params)
  }
}


